﻿using PJ.Data.Inventory;

namespace PJ.Data.WCF
{
    public class InventoryBarCodeWCFProvider : EntityWCFProvider<BaseInventoryBarCodeData>, IInventoryBarCodeWCFProvider
    {
        public InventoryBarCodeWCFProvider(IInventoryBarCodeProvider service)
            : base(service)
        {
        }

        public string[] GetFragments(string sessionId, string ownerId, int mode)
        {
            return Provider.GetFragments(ownerId, (GetDataMode)mode);
        }


        private new IInventoryBarCodeProvider Provider
        {
            get
            {
                return (IInventoryBarCodeProvider)base.Provider;
            }
        }
    }
}
